/*********** tuannh ****************
function : load file js
***********************************/
var sPortlet_Name = document.getElementById('txtRequest').value;
var sPortlet_Img = sPortlet_Name + "/html/pmap_portlet/img/";
var sURL = document.getElementById('txtRequest').value
		+ "/Config/config_editor.xml";
var sURL_Field = document.getElementById('txtRequest').value
		+ "/Config/alias.xml";
var sStyle_SLD = document.getElementById('txtRequest').value
		+ "/Styles/sld_feature.xml";
var sJS_Path = sPortlet_Name + "/js/";
var JsFiles = [ "g_input.js", "g_b.js", "g_e.js", "g_g.js", "g_i.js", "g_l.js", "g_p.js",
		"g_s.js", "g_v.js", "att_obj.js","att_pop.js","label_tooltip.js","att_search.js" ];

var scriptTags = new Array(JsFiles.length);
var len = JsFiles.length;
for ( var i = 0; i < len; i++) {
	scriptTags[i] = "<script type='text/javascript' src='" + sJS_Path
			+ JsFiles[i] + "'></script>";
}
if (scriptTags.length > 0) {
	document.write(scriptTags.join(""));
}
/******* end function *********/